package com.cn.test.model.response;

import java.io.Serializable;

public class LoginRegisterResult implements Serializable {

        /**
         * userinfo : {"id":13,"username":"18756221912","nickname":"个人团队业务员测试账户","mobile":"18756221912","avatar":"http://cdn.zyfjsm.com/default/avatar.png","gender":1,"associationcode":"ZQSxOIjoJVhtdGC","cashback":"0.00","province":1021,"city":1069,"provincename":"安徽省","cityname":"铜陵市","token":"9df14fa4-4ed9-4dc7-8c2e-dad29fa03541","invitationlink":"http://www.zyfjsm.comZQSxOIjoJVhtdGC"}
         */

        private UserinfoBean userinfo;

        public UserinfoBean getUserinfo() {
            return userinfo;
        }

        public void setUserinfo(UserinfoBean userinfo) {
            this.userinfo = userinfo;
        }

        public static class UserinfoBean implements Serializable {
            /**
             * id : 13
             * username : 18756221912
             * nickname : 个人团队业务员测试账户
             * mobile : 18756221912
             * avatar : http://cdn.zyfjsm.com/default/avatar.png
             * gender : 1
             * associationcode : ZQSxOIjoJVhtdGC
             * cashback : 0.00
             * province : 1021
             * city : 1069
             * provincename : 安徽省
             * cityname : 铜陵市
             * token : 9df14fa4-4ed9-4dc7-8c2e-dad29fa03541
             * invitationlink : http://www.zyfjsm.comZQSxOIjoJVhtdGC
             */

            private int id;
            private String username;
            private String nickname;
            private String mobile;
            private String avatar;
            private int gender;
            private String associationcode;
            private String cashback;
            private int province;
            private int city;
            private String provincename;
            private String cityname;
            private String token;
            private String invitationlink;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getUsername() {
                return username;
            }

            public void setUsername(String username) {
                this.username = username;
            }

            public String getNickname() {
                return nickname;
            }

            public void setNickname(String nickname) {
                this.nickname = nickname;
            }

            public String getMobile() {
                return mobile;
            }

            public void setMobile(String mobile) {
                this.mobile = mobile;
            }

            public String getAvatar() {
                return avatar;
            }

            public void setAvatar(String avatar) {
                this.avatar = avatar;
            }

            public int getGender() {
                return gender;
            }

            public void setGender(int gender) {
                this.gender = gender;
            }

            public String getAssociationcode() {
                return associationcode;
            }

            public void setAssociationcode(String associationcode) {
                this.associationcode = associationcode;
            }

            public String getCashback() {
                return cashback;
            }

            public void setCashback(String cashback) {
                this.cashback = cashback;
            }

            public int getProvince() {
                return province;
            }

            public void setProvince(int province) {
                this.province = province;
            }

            public int getCity() {
                return city;
            }

            public void setCity(int city) {
                this.city = city;
            }

            public String getProvincename() {
                return provincename;
            }

            public void setProvincename(String provincename) {
                this.provincename = provincename;
            }

            public String getCityname() {
                return cityname;
            }

            public void setCityname(String cityname) {
                this.cityname = cityname;
            }

            public String getToken() {
                return token;
            }

            public void setToken(String token) {
                this.token = token;
            }

            public String getInvitationlink() {
                return invitationlink;
            }

            public void setInvitationlink(String invitationlink) {
                this.invitationlink = invitationlink;
            }
        }
}
